package com.anonymous.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * (Like)实体类
 *
 * @author makejava
 * @since 2022-01-16 11:17:37
 */
@Data
public class Like implements Serializable {
    private static final long serialVersionUID = 397892708928309002L;
    /**
     * 点赞id
     */
    private Integer likeId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 是否为主贴, true为主贴, false为回帖
     */
    private Integer isPost;
    /**
     * 主贴或回帖的id
     */
    private Integer postOrReplyId;
}

